package com.tupu.entity.ocs;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

import java.io.Serializable;

/**
 * 异常索引表
 */
@Data
@TableName(value = "DBU.T0125_IALM_WINDEX")
//@TableName(value = "t0125_ialm_windex")
public class T0125IalmWindex implements Serializable {

    private static final long serialVersionUID = 1L;

    //sprintf(WCODE,  “S%d_%d”,  YMD,  HMSMS
    @TableId(value = "C0125_WCODE")
    private String C0125WCode;

    //规则编码
    @TableField("C0125_RCODE")
    private String C0125RCode;

    //日期，如2012-4-9。就表示为20120409
    @TableField("C0125_YMD")
    private Integer C0125YMD;

    //时分秒毫秒，如12时4分54秒23毫秒表示为120454023
    @TableField("C0125_HMSMS")
    private Integer C0125HMSMS;

    //异常类型，0-抖动监视，1-设备异常，2-延时告警，4-越限监视
    @TableField("C0125_ABNTYPE")
    private Integer C0125AbnType;

    //异常描述
    @TableField("C0125_DESC")
    private String C0125Desc;

    //推理信息的DeviceKey
    @TableField("C0125_DEVKEY")
    private String C0125DevKey;

    //推理信息的发生的（开始）时间
    @TableField("C0125_START")
    private Integer C0125Start;

    //推理信息的结束的时间（抖动监视有效）
    @TableField("C0125_END")
    private Integer C0125End;

    //异常设备的ID
    @TableField("C0125_FAULTDEVID")
    private Integer C0125FAULTDEVID;

    //责任区
    @TableField("C0125_AOJ")
    private Integer C0125AOJ;
}
